using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter06
{
	/// <summary>
	/// Example02: The Conical Pendulum
	/// A small object of mass m is suspended from a 
	/// string of length L. The object revolves with 
	/// constant speed v in a horizontal circle of radius r, 
	/// as shown in Figure 6.4 (Because the string sweeps out 
	/// the surface of a cone, the system is known as a 
	/// conical pendulum.) Find an expression for v.
	/// v = \sqrt{L g \sin\theta \tan\theta}
	/// </summary>
	public class Example02
	{
		public Example02()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			result +=
			 "r = L*sin(theta)  \r\n"+
			 "a = v^2/r  \r\n"+
			 "tan(theta) = a / g    \r\n"+
			 "v^2 = tan(theta) * g * r  \r\n"+
			 "v = Sqrt{tan(theta) * g * L * sin(theta)}";
		}
	}
}
